<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>解构</title>
    <script>
      //解构数组
        let arr = [5,9,6,11];


        let [a,...others] = arr;

        console.log(a);
        console.log(others);

        console.log(arr);






    </script>
</head>
<body>

</body>
</html>